@layout("/common/_container.html"){
<div class="ibox float-e-margins ">
	<div class="ibox-content" style="padding: 0">
		<div class="panel panel-default" style="display: none">
			<div class="panel-heading">组织机构</div>
			<div class="panel-body dept-tree">
				<ul id="deptTree" class="ztree"></ul>
			</div>
		</div>
		<div class="numStatistics">
			<div><span>用户管理</span></div>
			<div id="zoom">
				<img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/open.png" alt="">
				<img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/shrink.png" alt="" style="display: none">
				<span>条件展开</span>
			</div>
		</div>
		<div class="divFlex" style="display: none">
			<div class="flex_one">
				<div style="flex: 2;">注册时间</div>
				<div style="flex: 1;">状态</div>
				<div style="flex: 1;">角色</div>
				<div style="flex: 1;">门诊</div>
			</div>
			<div class="flex_two">
				<div>
					<input type="text" id="beginTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
				</div>
				<div>
					<input type="text" id="endTime" autocomplete="off" onclick="laydate({istiem:true,format:'YYYY-MM-DD hh:mm:ss'})">
				</div>
				<div>
					<select id="status" onchange="MgrUser.search()">
						<option value="">请选择</option>
						<option value="1">启用</option>
						<option value="2">冻结</option>
					</select>
				</div>
				<div>
					<select id="roleid" onchange="MgrUser.search()">
					</select>
				</div>
				<div>
					<select id="deptid" onchange="MgrUser.search()">
					</select>
				</div>
			</div>
		</div>
	</div>
	<div class="timeButton">
		<div class="timeBox">
			<div>
				<span>用户名称</span>
				<input type="text" id="name" value="${account}">
			</div>
			<div>
				<button type="button" class="btn" onclick="MgrUser.search()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png" style="width: 20px;height: 20px;vertical-align: middle;margin-right: 8px;"><span style="vertical-align: middle;">搜索</span></button>
			</div>
		</div>
		<div class="buttonBox" style="flex: 5">
			<div>
				<button type="button" class="btn" onclick="MgrUser.resetSearch()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置</span></button>
				<button type="button" class="btn" onclick="MgrUser.openAddMgr()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/refresh.png"><span>添加</span></button>
				<button type="button" class="btn" onclick="MgrUser.openChangeUser()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/screen.png"><span>修改</span></button>
				<button type="button" class="btn" onclick="MgrUser.delMgrUser()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/export.png"><span>删除</span></button>
				<button type="button" class="btn" onclick="MgrUser.resetPwd()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>重置密码</span></button>
				<button type="button" class="btn" onclick="MgrUser.freezeAccount()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>冻结</span></button>
				<button type="button" class="btn" onclick="MgrUser.unfreeze()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>解除冻结</span></button>
				<button type="button" class="btn" onclick="MgrUser.deptAssign()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>部门分配</span></button>
				<button type="button" class="btn" onclick="MgrUser.roleAssign()"><img src="https://pynnn.oss-cn-hangzhou.aliyuncs.com/empty.png"><span>角色分配</span></button>
			</div>

		</div>
	</div>
	<div class="tableBox">
		<#table id="managerTable"/>
	</div>
</div>
</div>
<script src="${ctxPath}/static/modular/system/user/user.js?v=20200628"></script>
@}